import { Button as AntdButton } from "antd";
import { type CommonComponentProps } from "../Page/dev";

const Button: React.FC<CommonComponentProps> = ({ id, type, text, styles, ...props}) => {
    return (
        <AntdButton type={type} style={styles} {...props}>{text}</AntdButton>
    )
}

export default Button;